﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MarketSimulator.Utils.Communication
{
    public class Messages
    {
        #region Conversation Ids

        public const string CONVERSATION_ASK_PRICE = "[ASK_PRICE]";
        public const string NOT_AVAILABLE = "[NOT_AVAILABLE]";
        public const string CONVERSATION_SAY_PRICE = "[SAY_PRICE]";
        public const string CONVERSATION_ASK_OFFER = "[ASK_OFFER]";
        public const string CONVERSATION_SAY_OFFER = "[SAY_OFFER]";
        public const string CONVERSATION_ASK_TRANSPORT_OFFER = "[ASK_TRANSPOR_OFFER]";
        public const string CONVERSATION_SAY_TRANSPORT_OFFER = "[SAY_TRANSPOR_OFFER]";
        public const string CONVERSATION_ASK_DEPOSIT_OFFER = "[ASK_DEPOSIT_OFFER]";
        public const string CONVERSATION_SAY_DEPOSIT_OFFER = "[ASK_DEPOSIT_OFFER]";

        #endregion

        #region Message Formatters

        public const string PRODUCT_INFO_FORMAT = "{0}|{1}"; // -> Product price / Product Quantity
        public const string TRANSPORT_REQUEST_FORMAT = "{0}|{1}|{2}"; // -> Route Start / Route Stop / Quantity to transport
        public const string STORAGE_REQUEST_FORMAT = "{0}|{1}"; // -> Storage Location / Storage Quantity

        #endregion
    }
}
